package game.core.util
{
	public class MathUtil
	{
		public function MathUtil()
		{
		}
		
		public static function probability(v:Number):Boolean {
			var result:Boolean;
			var r:Number = Math.random();
			if(r < v){
				result = true;
			}
			return result;
		}
	}
}